# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialog_add_new_relation.ui'
#
# Created: Thu Apr 16 15:16:15 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Dialog_add_new_relation(object):
    def setupUi(self, Dialog_add_new_relation):
        Dialog_add_new_relation.setObjectName("Dialog_add_new_relation")
        Dialog_add_new_relation.resize(499, 173)
        self.gridlayout = QtGui.QGridLayout(Dialog_add_new_relation)
        self.gridlayout.setObjectName("gridlayout")
        self.label_4 = QtGui.QLabel(Dialog_add_new_relation)
        self.label_4.setEnabled(False)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.lineEdit_parent = QtGui.QLineEdit(Dialog_add_new_relation)
        self.lineEdit_parent.setEnabled(False)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_parent.setPalette(palette)
        self.lineEdit_parent.setReadOnly(True)
        self.lineEdit_parent.setObjectName("lineEdit_parent")
        self.gridlayout.addWidget(self.lineEdit_parent, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(Dialog_add_new_relation)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog_add_new_relation)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox, 5, 0, 1, 4)
        self.comboBoxchild = QtGui.QComboBox(Dialog_add_new_relation)
        self.comboBoxchild.setEnabled(True)
        self.comboBoxchild.setMouseTracking(False)
        self.comboBoxchild.setMaxVisibleItems(15)
        self.comboBoxchild.setFrame(True)
        self.comboBoxchild.setObjectName("comboBoxchild")
        self.comboBoxchild.addItem(QtCore.QString())
        self.comboBoxchild.addItem(QtCore.QString())
        self.comboBoxchild.addItem(QtCore.QString())
        self.gridlayout.addWidget(self.comboBoxchild, 2, 1, 1, 1)
        self.comboBox_relations = QtGui.QComboBox(Dialog_add_new_relation)
        self.comboBox_relations.setObjectName("comboBox_relations")
        self.comboBox_relations.addItem(QtCore.QString())
        self.gridlayout.addWidget(self.comboBox_relations, 1, 1, 1, 1)
        self.label_relation = QtGui.QLabel(Dialog_add_new_relation)
        self.label_relation.setEnabled(True)
        self.label_relation.setObjectName("label_relation")
        self.gridlayout.addWidget(self.label_relation, 1, 0, 1, 1)

        self.retranslateUi(Dialog_add_new_relation)
        QtCore.QMetaObject.connectSlotsByName(Dialog_add_new_relation)
        Dialog_add_new_relation.setTabOrder(self.lineEdit_parent, self.comboBox_relations)
        Dialog_add_new_relation.setTabOrder(self.comboBox_relations, self.comboBoxchild)
        Dialog_add_new_relation.setTabOrder(self.comboBoxchild, self.buttonBox)

    def retranslateUi(self, Dialog_add_new_relation):
        Dialog_add_new_relation.setWindowTitle(QtGui.QApplication.translate("Dialog_add_new_relation", "mcf: New AE relation", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog_add_new_relation", "Parent: ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog_add_new_relation", "Child", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxchild.setItemText(0, QtGui.QApplication.translate("Dialog_add_new_relation", "Select child...", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxchild.setItemText(1, QtGui.QApplication.translate("Dialog_add_new_relation", "New Item", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxchild.setItemText(2, QtGui.QApplication.translate("Dialog_add_new_relation", "New Item 2", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBox_relations.setItemText(0, QtGui.QApplication.translate("Dialog_add_new_relation", "Select relation...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_relation.setText(QtGui.QApplication.translate("Dialog_add_new_relation", "Relation", None, QtGui.QApplication.UnicodeUTF8))

